/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package eu.horyzont.systemyrozproszone.systemmagazynowy.serwer.entities;

/**
 *
 * @author Maciej
 */
public class OrderItem extends Entity {
    private Warehouse warehouse;
    private Product product;
    private String name;
    private double price;
    private double vat;
    private double amount;
    
    
    public Warehouse getWarehouse(){
        return warehouse;
    }
    
    public void setWarehouse(Warehouse warehouse){
        this.warehouse=warehouse;
    }
    
    public Product getProduct(){
        return product;
    }
    
    public void setProduct(Product product){
        this.product=product;
    }
    
     public String getName(){
        return name;
    }
    public void setName(String name){
        this.name=name;
    }
    
    public double getPrice(){
        return price;
    }
    public void setName(double price){
        this.price=price;
    }
    
    public double getVat(){
        return vat;
    }
    public void setVat(double vat){
        this.vat=vat;
    }
    public double getAmount(){
        return amount;
    }
    public void setAmount(double amount){
        this.amount=amount;
    }
}
